<script src="http://open.web.meitu.com/sources/xiuxiu.js" type="text/javascript"></script>
<import type="css" file="Css.user-setting"/>
<import type="js" file="Js.jquery-s"/>
<import type="js" file="Js.main"/>
<style>
    #fq{
        height: 400px;;
    }
</style>
<script type="text/javascript">
    window.onload = function(){
        /*第1个参数是加载编辑器div容器，第2个参数是编辑器类型，第3个参数是div容器宽，第4个参数是div容器高*/
        xiuxiu.embedSWF("altContent",5,"100%","100%");
        //修改为您自己的图片上传接口
        xiuxiu.setUploadURL("http://127.0.0.1/tp/index.php/Index/Profile/xiuxiujk");
        xiuxiu.setUploadType(2);
        xiuxiu.setUploadDataFieldName("upload_file");
        xiuxiu.onInit = function ()
        {
            xiuxiu.loadPhoto("http://127.0.0.1/tp{$_SESSION['avatarulr']}");//修改为要处理的图片url
        }
        xiuxiu.onUploadResponse = function (data)
        {
            document.write(data);
        }
    }
</script>
<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="aw-user-setting">
                    <div class="tabbable">
                        <ul class="nav nav-tabs aw-nav-tabs active">
                            <li><a href="{:U('Index/profile/passphrases')}">安全设置</a></li>
                            <li class="active"><a href="{:U('Index/profile/touxiang')}">头像设置</a></li>
                            <li><a href="{:U('Index/profile/index')}">基本资料</a></li>

                            <h2><i class="icon icon-setting"></i> 用户设置</h2>
                        </ul>
                        </div>
                    <div id="fq">
                        <div id="altContent">

                        </div>
                    </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<div class="aw-footer-wrap">
    <div class="aw-footer">
        Copyright © 2016, All Rights Reserved

        <span class="hidden-xs">Powered By <a href="http://www.wecenter.com/?copyright" target="blank">学并思 3.1.7</a></span>

    </div>
</div>

<a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});"><i class="icon icon-up"></i></a>


<!-- DO NOT REMOVE -->
<div id="aw-ajax-box" class="aw-ajax-box"></div>

<div style="display:none;" id="__crond"><img src="./js/saved_resource" width="1" height="1"></div>

<!-- Escape time: 0.099240064620972 --><!-- / DO NOT REMOVE -->



</body></html>